﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Articles.aspx.cs" Inherits="Framework.Articles" %>

<%@ Register Src="~/Controls/PagingControl.ascx" TagPrefix="uc1" TagName="PagingControl" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <style>
        #header-top{
            display:none;
        }
                 #main-nav{
             margin-top:0
         }
    </style>
       <div class="container">
            <div class="row" style="margin-bottom:2px">
                <div class="col-md-12">
                    <div class="col-md-6 breadcrumb-member pull-right">
                        <ul class="pull-right" style="padding:0; margin:0">
                            <li>Welcome, <span class="spn-color-green"><asp:Label ID="lblUserName" runat="server"></asp:Label></span> |</li>
                            <li>
                                <a id="aMarketNews" href="<%= ResolveUrl("~/" + DGSFramework.Globals.GetUrl("quan-ly-tai-khoan", "ManageAccount.aspx"))%>"
                                        title="<%= DGSFramework.Globals.GetLanguage("Quản lý tài khoản", "Setting", true)%>">
                                        <%= DGSFramework.Globals.GetLanguage("Quản lý tài khoản", "Setting", true)%></a> | 

                            </li>
                            <li style="padding-right:0"><asp:Button ID="btnMemberLogout" runat="server" OnClick="btnMemberLogout_Click" Text="Log Out" /></li>
                        </ul>
                    </div>
                </div>

            </div>
            <div class="row">
                <div class="col-md-6">
                    <div class="col-md-12" style="padding-left:0; margin-bottom: 5px;">
                        <p style="font-size: 18px; margin-bottom:0">
                         <i class="glyphicon glyphicon-calendar"></i> <%= DateTime.Now.ToString("dddd MMMM/dd/yyyy") %>
                            
                        </p>
                    </div>
                    <div class="col-md-12" style="padding:0;">
                        <h3 style="margin-top:0; border-bottom: 1px solid #4dd80c"><%= DGSFramework.Globals.GetLanguage("Tin Thị Trường","Market Summary", true) %></h3>
                        <input type="hidden" value="23" runat="server" id="tbIdMarketNews" />

                                    <asp:Repeater ID="rpArticles" runat="server">
                <ItemTemplate>
                        <!-- News post -->
                        <div class="col-md-12 post">
                            <article>

                                <div class="pm-news-post-container">

                                   <%-- <div class="pm-news-post-image pull-left" style=' width:256px'>
                                     <img src="<%# DGSFramework.ConfigPaths.Path_ImageArticle_Folder.Substring(1) + Eval("ImageUrl")%>"
                                    alt="<%# !string.IsNullOrEmpty(Eval("ImageAlt").ToString()) ? Eval("ImageAlt").ToString() : Eval("Title").ToString() %>" />
                                    </div>--%>
                                    <div class="pm-news-post-desc-container">
                                      <img style="float:left; height: 100px; width: 256px; margin:5px" src="<%# DGSFramework.ConfigPaths.Path_ImageArticle_Folder.Substring(1) + Eval("ImageUrl")%>"
                                    alt="<%# !string.IsNullOrEmpty(Eval("ImageAlt").ToString()) ? Eval("ImageAlt").ToString() : Eval("Title").ToString() %>" />

                                        <a href="<%# ResolveUrl("~/" + DGSFramework.Globals.GetUrl(Eval("UrlRewrite").ToString(), DGSFramework.Globals.GetUrlAspx(Eval("UrlRewrite").ToString(), false) + Eval("ArticleID").ToString())) %>">
                                              <%# DGSFramework.Globals.GetLanguage(Eval("Title"), Eval("Title_en"), true)%>
                                        </a>
                                         <p><%# DGSFramework.Globals.TruncateString(DGSFramework.Globals.GetLanguage(Eval("Abstract"), Eval("Abstract_en"), true), 300)%></p>
                                        <a  style="color:#723602" class="pull-right" href="<%# ResolveUrl("~/" + DGSFramework.Globals.GetUrl(Eval("UrlRewrite").ToString(), DGSFramework.Globals.GetUrlAspx(Eval("UrlRewrite").ToString(), false) + Eval("ArticleID").ToString())) %>">
                                             
                                              <%# DGSFramework.Globals.GetLanguage("Xem tiếp", "Read more", true)%>
                                        </a>

                                    </div>
<%--                                    <div class="post-content-des col-md-12">
                                         <p><%# DGSFramework.Globals.TruncateString(DGSFramework.Globals.GetLanguage(Eval("Abstract"), Eval("Abstract_en"), true), 300)%></p>
                                        <a class="pull-right" href="<%# ResolveUrl("~/" + DGSFramework.Globals.GetUrl(Eval("UrlRewrite").ToString(), DGSFramework.Globals.GetUrlAspx(Eval("UrlRewrite").ToString(), false) + Eval("ArticleID").ToString())) %>">
                                             
                                              <%# DGSFramework.Globals.GetLanguage("Xem tiếp", "Read more", true)%>
                                        </a>
                                    </div>--%>
                                    <div class="pm-news-post-meta-container" style="position:absolute; top:11px; left:11px; background:rgba(255,255,255,0.8); width: 256px;">
                                        <div class="pm-news-post-date">
                                            <p>
                                                <%= DGSFramework.Globals.GetLanguage("Ngày đăng", "Publish date", true) %>:
                                <%# string.Format("{0:dd/MM/yyyy}", Eval("AddedDate")) %>
                                            </p>
                                        </div>
                                    </div>                                
                                </div>

                            </article>
                        </div>
                        <!-- News post end -->

                </ItemTemplate>
            </asp:Repeater>
                        <uc1:PagingControl runat="server" ID="PagingControl1" />
                    </div>
                   
                </div>

                <aside class="col-md-6 widgets">
                                          <div class="col-md-12 widget-login" style="padding: 0">
                    <div class="col-md-12" style="padding: 0">
                        <div class="col-md-6" style="overflow: hidden">

                            <!-- TradingView Widget BEGIN -->
                                                      <iframe id="tvc_frame" seamless="seamless" src="http://tvc4.forexpros.com/init.php?family_prefix=tvc4&carrier=70acbbc265627c84565f2036b2c935b1&time=1446957548&domain_ID=1&lang_ID=1&timezone_ID=8&pair_ID=169&interval=900&refresh=4&session=24x7&client=&user=&width=830&height=800" width="830" height="800"></iframe>
                      
</div>
                        <div class="col-md-6" style="overflow: hidden">

  <iframe id="tvc_frame" seamless="seamless" src="http://tvc4.forexpros.com/init.php?family_prefix=tvc4&carrier=70acbbc265627c84565f2036b2c935b1&time=1446957548&domain_ID=1&lang_ID=1&timezone_ID=8&pair_ID=178&interval=900&refresh=4&session=24x7&client=&user=&width=830&height=800" width="830" height="800"></iframe>
                      


                        </div>
                        <div class="col-md-6" style="overflow: hidden">
  <iframe id="tvc_frame" seamless="seamless" src="http://tvc4.forexpros.com/init.php?family_prefix=tvc4&carrier=70acbbc265627c84565f2036b2c935b1&time=1446957548&domain_ID=1&lang_ID=1&timezone_ID=8&pair_ID=40820&interval=900&refresh=4&session=24x7&client=&user=&width=830&height=800" width="830" height="800"></iframe>

                        </div>
                        <div class="col-md-6" style="overflow: hidden">
                         <iframe id="tvc_frame" seamless="seamless" src="http://tvc4.forexpros.com/init.php?family_prefix=tvc4&carrier=70acbbc265627c84565f2036b2c935b1&time=1446957548&domain_ID=1&lang_ID=1&timezone_ID=8&pair_ID=41063&interval=900&refresh=4&session=24x7&client=&user=&width=830&height=800" width="830" height="800"></iframe>

 </div>

                    </div>


                </div>


<div class="col-md-12" style="padding-left: 0; margin-top: 5px;">
                        <ul class="more-article" style="padding-left:0; margin-left:0">
                            <li>Read more news in English at :</li>
                            <li><i class="glyphicon glyphicon-hand-right"></i> <a href="http://www.telegraph.co.uk/finance/" target="_blank">www.telegraph.co.uk</a></li>
                            <li><i class="glyphicon glyphicon-hand-right"></i> <a href="http://finance.yahoo.com/" target="_blank">www.finance.yahoo.com - Yahoo Finance</a></li>
                            <li><i class="glyphicon glyphicon-hand-right"></i> <a href="http://www.bloomberg.com/asia" target="_blank">http://www.bloomberg.com/asia - Bloomberg</a></li>
                            <li><i class="glyphicon glyphicon-hand-right"></i> <a href="http://www.vietnam-briefing.com/news/" target="_blank">http://www.vietnam-briefing.com/news - Vietnam Briefing</a></li>
                                                    
</ul>
                    </div>


                     <div class="col-md-12" style="padding-left: 0; margin-top: 5px;">
                        <ul class="more-article" style="padding-left:0; margin-left:0">
                            <li>Read more news in Vietnamese at :</li>
                            <li><i class="glyphicon glyphicon-hand-right"></i> <a href="http://hsx.vn/" target="_blank">www.hsx.vn - Sở Giao Dịch Chứng Khoán Tp.Hồ Chí Minh</a></li>
                            <li><i class="glyphicon glyphicon-hand-right"></i> <a href="http://cafef.vn/" target="_blank">www.cafef.vn - Kênh Thông Tin Kinh Tế - Tài Chính Việt Nam</a></li>
                            <li><i class="glyphicon glyphicon-hand-right"></i> <a href="http://ndh.vn/" target="_blank">www.ndh.vn - Thông Tin Đầu Tư, Tài Chính Cá Nhân và Tiêu Dùng</a></li>
                            <li><i class="glyphicon glyphicon-hand-right"></i> <a href="http://cophieu68.vn/" target="_blank">www.cophieu68.vn - Công Ty Cổ Phần Tư Vấn Đầu Tư Cây Cầu Vàng </a></li>
                            <li><i class="glyphicon glyphicon-hand-right"></i> <a href="http://vietstock.vn/" target="_blank">www.vietstock.vn</a></li>
                        </ul>
                    </div>



                </aside>
            </div>
        </div>
</asp:Content>
